package com.dingding.order.code;

/**
 * @Description:订单
 * @author fengshuonan
 * @date 2016年6月3日 下午2:54:13
 */
public enum OrderPayCodeMsg {

	PARA_DATA_NULL(403, "传入的参数为空"),

	ORDER_STATUS_NOT_WAIT_PAY(403, "订单状态不是待支付状态"),

	USER_REMAIN_MONEY_NOT_ENOUGH(588, "用户余额不足"),

	DEDUCT_MONEY_FAIL(589, "扣款失败"),

	WEI_CHAT_PAY_FAIL(590, "微信下单失败"),

	ORDER_NOT_EXIST(591, "订单不存在！"),

	ORER_PAY_FAIL(592, "订单支付失败");

	private int code; // 状态码

	private String message; // 状态码消息

	private OrderPayCodeMsg(int code, String message) {
		this.code = code;
		this.message = message;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}